/*
 * Description: 报价系列调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Dongxu.Ni
 * Date: 2020/04/12 08:41
 */

import { httpPost } from '../../utils/axios-utils'

export function seriesList(obj, authConfig) {
  return httpPost('/smart-cost/quote/series/list', obj, authConfig)
}

export function seriesPageList(obj, authConfig) {
  return httpPost('/smart-cost/quote/series/pageList', obj, authConfig)
}

export function seriesAdd(obj, authConfig) {
  return httpPost('/smart-cost/quote/series/add', obj, authConfig)
}

export function seriesEdit(obj, authConfig) {
  return httpPost('/smart-cost/quote/series/edit', obj, authConfig)
}

export function seriesBatchAdd(arr, authConfig) {
  return httpPost('/smart-cost/quote/series/batchAdd', arr, authConfig)
}

export function seriesBatchEdit(arr, authConfig) {
  return httpPost('/smart-cost/quote/series/batchEdit', arr, authConfig)
}

export function seriesDelete(obj, authConfig) {
  return httpPost('/smart-cost/quote/series/delete', obj, authConfig)
}
